package com.gdit.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.gdit.comm.enums.Status;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * 学科
 *
 * @author zyy
 * @since 2021-09-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_subject")
@ApiModel(value="Subject对象", description="")
public class Subject implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "学科号")
    private String subjectNo;

    @ApiModelProperty(value = "学科名")
    private String subjectName;

    @ApiModelProperty(value = "状态，默认为0，0为正常")
    @TableLogic(value = "0",delval = "1")
    private Status status;

}
